package edu.sctu.wangxiaoqiang.day20150510;

import javafx.scene.text.Text;

/**
 * Created by user25 on 2015/5/10.
 */
public class TeMa {
    public static void main(String[] args) {

        TextTwo textTwo = new TextTwo();
        textTwo.number1 = 10;
//
//        textTwo.setAge(55);
//        textTwo.setName("zhang");
//        textTwo.setSex("男");
//        textTwo.setNumber(20);
//        TextFour textFour = new TextFour(textTwo);
//
//       textFour.haveIt();
        TeOne teOne = new TeOne(textTwo);
            textTwo=teOne.getNum();
        System.out.println(textTwo.num);
    }
}
